inherited frmSubjectInit: TfrmSubjectInit
  Left = 428
  Top = 175
  Caption = #31185#30446#26399#21021
  ClientHeight = 554
  ClientWidth = 882
  ExplicitWidth = 900
  ExplicitHeight = 600
  PixelsPerInch = 119
  TextHeight = 12
  inherited pnlBottom: TPanel
    Top = 494
    Width = 882
    ExplicitTop = 338
    ExplicitWidth = 796
    inherited Bevel1: TBevel
      Width = 882
      ExplicitWidth = 793
    end
    inherited btnOK: TBitBtn
      Left = 666
      Top = 20
      ExplicitLeft = 580
      ExplicitTop = 20
    end
    inherited btnCancel: TBitBtn
      Left = 778
      Top = 20
      ExplicitLeft = 692
      ExplicitTop = 20
    end
    inherited btnContinue: TBitBtn
      Top = 20
      Visible = False
      ExplicitTop = 20
    end
    inherited btnPri: TBitBtn
      Top = 20
      TabOrder = 9
      Visible = False
      ExplicitTop = 20
    end
    inherited btnNext: TBitBtn
      Top = 20
      Visible = False
      ExplicitTop = 20
    end
    inherited btnBaseEditSave: TBitBtn
      Left = 470
      Top = 20
      Visible = False
      ExplicitLeft = 470
      ExplicitTop = 20
    end
    object btnTestBalance: TcxButton
      Left = 121
      Top = 20
      Width = 100
      Height = 28
      Anchors = [akLeft, akBottom]
      Caption = #35797#31639#24179#34913
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        0000000000004D1200004D1200000000000000000000FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00000000FF0000
        00FF000000FF000000FF000000FF000000FFFFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FF800000FF800000FF800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FFFFFFFF00FFFFFF00800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FFFFFFFF00FFFFFF00800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FFFFFFFF00800000FF800000FFFFFFFF00FFFFFF00FFFFFF00000000FF0000
        00FF000000FF000000FF000000FF000000FFFFFFFF00FFFFFF00FFFFFF008000
        00FF800000FF800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FF800000FF800000FF800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FFFFFFFF00FFFFFF00800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FFFFFFFF00FFFFFF00800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FFFFFFFF00800000FF800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF008000
        00FF800000FF800000FFFFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
        FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00}
      TabOrder = 5
      OnClick = btnTestBalanceClick
    end
    object btnImportInit: TcxButton
      Left = 12
      Top = 20
      Width = 100
      Height = 28
      Anchors = [akLeft, akBottom]
      Caption = #24341#20837#26399#21021#25968#25454'...'
      DropDownMenu = pmImportInit
      Kind = cxbkDropDown
      TabOrder = 6
    end
    object btnAid: TcxButton
      Left = 228
      Top = 20
      Width = 100
      Height = 28
      Anchors = [akLeft, akBottom]
      Caption = #36741#21161#26680#31639
      Colors.Normal = clMoneyGreen
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        0000000000004D1200004D1200000000000000000000C8C8C800C8C8C8000B0B
        0BFF676767FF3F3F3FFF111111FF000000FFC8C8C800C8C8C800C8C8C800C8C8
        C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C8002F2F
        2FFFF9F9F9FFFFFFFFFFE5E5E5FFB4B4B4FF808080FF474747FF171717FF0000
        00FFC8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C8005D5D
        5DFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBEBEBFFB0B0
        B0FF707070FF393939FF0F0F0FFF030303FFC8C8C800C8C8C800C8C8C8009494
        94FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
        FFFFFFFFFFFFFEFEFEFFE0E0E0FF2D2D2DFFC8C8C800C8C8C800080808FFD3D3
        D3FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9F9F9FFFDFDFDFFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFFD2D2D2FF0C0C0CFFC8C8C800C8C8C8002A2A2AFFF2F2
        F2FFECECECFFF2F2F2FFFAFAFAFFFEFEFEFFE1E0E0FFF5F4F2FFFFFFFFFFFFFF
        FFFFFFFFFFFFFFFFFFFF797979FFC8C8C800C8C8C800C8C8C8005D5D5DFFFFFF
        FFFFD9D9D9FFD4D4D4FFDADADAFFE4E3E2FFABACAFFF83A5CAFFC9D9F2FFFFFC
        F9FFFFFFFFFFF5F5F5FF2D2D2DFFC8C8C800C8C8C800C8C8C8008B8B8BFFFFFF
        FFFFD9D9D9FFD5D5D5FFD2D2D2FFD0CFCEFFD5D4D3FF5AB8EFFF2F99F3FFA9B4
        D0FFFFFEF8FFC8C8C800030303FFC8C8C800C8C8C800000000FFBBBBBBFFF2F2
        F2FFD3D3D3FFCFCFCFFFD2D2D2FFD9D9D9FFDAD6D4FFB3CED3FF56D0F6FF3BA8
        EEFFBECBECFF817C78FFC8C8C800C8C8C800C8C8C800141414FFE2E2E2FFD7D7
        D7FFCECECEFFD3D3D3FFCFCFCFFFD7D7D7FFD1D1D1FFD7D0CEFFD3E1E0FF6BE1
        F8FF3BB4FAFF435479FFC8C8C800C8C8C800C8C8C8003C3C3CFFF4F4F4FFD2D2
        D2FFCBCBCBFFCDCDCDFFD1D1D1FFC7C7C7FFD1D1D1FFC9CACAFFD0CAC9FFD2E1
        DFFF84F0FFFF3FB3F3FF50688EFFC8C8C800C8C8C800707070FFFFFFFFFFDEDE
        DEFFD7D7D7FFCECECEFFC2C2C2FFCFCFCFFFCDCDCDFFC5C5C5FFD2D2D2FFF6F3
        F2FFA8AFACFF65CBD9FF40BBF9FF63788FFFC8C8C8009C9C9CFFFBFBFBFFF8F8
        F8FFF8F8F8FFF5F5F5FFEBEBEBFFDADADAFFD3D3D3FFCCCCCCFFE1E1E1FFF1F1
        F1FF343030FF506362FF9ED8DFFFACAFC2FF5D5C76FF909090FFB1B1B1FFB8B8
        B8FFC8C8C800D7D7D7FFE5E5E5FFF4F4F4FFF5F5F5FFF2F2F2FFFFFFFFFFBBBB
        BBFF000000FFC8C8C80075726DFF8C8BC7FF7676C4FFC8C8C800C8C8C800C8C8
        C800C8C8C800C8C8C800AAAAAAFFAFAFAFFFBCBCBCFFCCCCCCFFEAEAEAFF7171
        71FFC8C8C800C8C8C800C8C8C800616172FF6C6C81FFC8C8C800C8C8C800C8C8
        C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8
        C800C8C8C800C8C8C800C8C8C800C8C8C800C8C8C800}
      TabOrder = 7
      OnClick = btnAidClick
    end
    object chkSubNode: TcxCheckBox
      Left = 329
      Top = 22
      Caption = #21482#26174#31034#26377#25968#25454#31185#30446
      TabOrder = 8
      OnClick = chkSubNodeClick
    end
  end
  object Panel1: TPanel [1]
    Left = 0
    Top = 0
    Width = 882
    Height = 49
    Align = alTop
    BevelOuter = bvNone
    TabOrder = 3
    ExplicitWidth = 796
    DesignSize = (
      882
      49)
    object lblMoney: TcxLabel
      Left = 16
      Top = 16
      Caption = #24065#31181#65306
      Transparent = True
    end
    object edtMoney: TcxDBLookupComboBox
      Tag = 24
      Left = 72
      Top = 14
      DataBinding.DataField = 'moneyid'
      DataBinding.DataSource = dsMoney
      Properties.ImmediatePost = True
      Properties.ListColumns = <>
      TabOrder = 0
      Width = 145
    end
    object lblExchRate: TcxLabel
      Left = 248
      Top = 16
      Caption = #27719#29575#65306
      Transparent = True
    end
    object cxLabel1: TcxLabel
      Left = 348
      Top = 16
      Caption = #20998#25903#26426#26500#65306
      Transparent = True
    end
    object edtFiliale: TcxDBLookupComboBox
      Tag = 5
      Left = 412
      Top = 14
      DataBinding.DataField = 'filid'
      DataBinding.DataSource = dsMoney
      Properties.ImmediatePost = True
      Properties.ListColumns = <>
      TabOrder = 4
      Width = 145
    end
    object btnExcel: TcxButton
      Left = 766
      Top = 11
      Width = 75
      Height = 25
      Anchors = [akTop, akRight]
      Caption = #23548#20986'Excel'
      OptionsImage.Glyph.SourceDPI = 96
      OptionsImage.Glyph.Data = {
        424D360400000000000036000000280000001000000010000000010020000000
        0000000000004D1200004D1200000000000000000000FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FF000000FF0000
        00FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00000000FF000000FF000000FF000000FF000000FF0000
        00FF000000FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00848484FF848484FF848484FF848484FF848484FF848484FF8484
        84FF848484FF848484FFFF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FF000000FF000000FF0000
        00FF000000FF000000FF000000FF000000FFFF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00840000FF8400
        00FFFF00FF00840000FFFF00FF00000000FFFF00FF00FF00FF00000000FF0000
        00FF000000FF000000FF000000FF000000FF000000FFFF00FF00FF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00FF00000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00840000FFFF0000FF840000FFFF00
        00FF840000FFFF0000FF840000FFFF0000FFFF00FF00FF00FF00000000FFFF00
        FF00840000FFFF00FF00840000FF840000FFFF0000FF840000FFFF0000FF8400
        00FFFF0000FF840000FFFF0000FF840000FFFF00FF00FF00FF00000000FFFF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00000000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00840000FFFF00
        00FF840000FFFF0000FF840000FFFF0000FF840000FFFF0000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF0000FF8400
        00FFFF0000FF840000FFFF0000FF840000FFFF0000FF840000FFFF00FF00FF00
        FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
      TabOrder = 5
      OnClick = btnExcelClick
      ExplicitLeft = 680
    end
  end
  object pgcInit: TcxPageControl [2]
    Left = 0
    Top = 49
    Width = 882
    Height = 445
    Align = alClient
    TabOrder = 4
    Properties.ActivePage = cxTabSheet1
    Properties.CustomButtons.Buttons = <>
    ExplicitWidth = 796
    ExplicitHeight = 289
    ClientRectBottom = 441
    ClientRectLeft = 4
    ClientRectRight = 878
    ClientRectTop = 24
    object cxTabSheet1: TcxTabSheet
      Caption = 'cxTabSheet1'
      ImageIndex = 0
      ExplicitWidth = 788
      ExplicitHeight = 261
      object gdInitAcc: TcxGrid
        Left = 0
        Top = 0
        Width = 874
        Height = 417
        Align = alClient
        TabOrder = 0
        ExplicitWidth = 788
        ExplicitHeight = 261
        object ViewInitAcc: TcxGridDBBandedTableView
          OnDblClick = ViewInitAccDblClick
          Navigator.Buttons.CustomButtons = <>
          OnCustomDrawCell = ViewInitAccCustomDrawCell
          DataController.DataModeController.SmartRefresh = True
          DataController.DataSource = MainDataSource
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Kind = skSum
              FieldName = '_initqty'
              Column = ViewInit_initqty
            end
            item
              Kind = skSum
              FieldName = '_init'
              Column = ViewInit_init
            end
            item
              Kind = skSum
              Column = ViewInit_dcinit
            end
            item
              Kind = skSum
              Column = ViewInit_debitqty
            end
            item
              Kind = skSum
              Column = ViewInitdebit
            end
            item
              Kind = skSum
              Column = ViewInitdcdebit
            end
            item
              Kind = skSum
              Column = ViewInit_creditqty
            end
            item
              Kind = skSum
              Column = ViewInitcredit
            end
            item
              Kind = skSum
              Column = ViewInitdccredit
            end
            item
              Kind = skSum
              Column = ViewInitqtybal
            end
            item
              Kind = skSum
              Column = ViewInitbal
            end
            item
              Kind = skSum
              Column = ViewInitdcbal
            end
            item
              Kind = skSum
              Column = ViewInithappen
            end
            item
              Kind = skCount
              Column = ViewInitsubcode
            end>
          DataController.Summary.SummaryGroups = <>
          OptionsBehavior.AlwaysShowEditor = True
          OptionsBehavior.FocusCellOnTab = True
          OptionsBehavior.GoToNextCellOnEnter = True
          OptionsBehavior.FocusCellOnCycle = True
          OptionsData.CancelOnExit = False
          OptionsData.Deleting = False
          OptionsData.DeletingConfirmation = False
          OptionsData.Inserting = False
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupByBox = False
          Styles.Background = MainDM.bslBackGroup
          Styles.ContentEven = MainDM.bsEven
          Styles.ContentOdd = MainDM.bsOdd
          Styles.Footer = MainDM.bsTitle
          Styles.Header = MainDM.bsTitle
          Styles.Selection = MainDM.bsSelect
          Styles.BandBackground = MainDM.bslBackGroup
          Styles.BandHeader = MainDM.bsTitle
          Bands = <
            item
              Width = 180
            end
            item
              Caption = #26041#21521
            end
            item
              Caption = #26412#24180#24180#21021
              Width = 101
            end
            item
              Caption = #26412#24180#32047#35745#20511#26041
              Width = 104
            end
            item
              Caption = #26412#24180#32047#35745#36151#26041
              Width = 103
            end
            item
              Caption = #26399#21021#20313#39069
              Width = 114
            end
            item
            end>
          object ViewInitsubcode: TcxGridDBBandedColumn
            Caption = #31185#30446#20195#30721
            DataBinding.FieldName = 'subcode'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 65
            Position.BandIndex = 0
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInitsubname: TcxGridDBBandedColumn
            Caption = #31185#30446#21517#31216
            DataBinding.FieldName = 'fullsubname'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 115
            Position.BandIndex = 0
            Position.ColIndex = 3
            Position.RowIndex = 0
          end
          object ViewInitisdebit: TcxGridDBBandedColumn
            Caption = #20313#39069
            DataBinding.FieldName = 'isdebit'
            PropertiesClassName = 'TcxLabelProperties'
            HeaderAlignmentHorz = taCenter
            Options.Editing = False
            Width = 35
            Position.BandIndex = 1
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInit_initqty: TcxGridDBBandedColumn
            Caption = #25968#37327
            DataBinding.FieldName = '_initqty'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 2
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInit_init: TcxGridDBBandedColumn
            Caption = #21407#24065
            DataBinding.FieldName = '_init'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 2
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object ViewInit_dcinit: TcxGridDBBandedColumn
            Caption = #26412#20301#24065
            DataBinding.FieldName = '_dcinit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 2
            Position.ColIndex = 2
            Position.RowIndex = 0
          end
          object ViewInit_debitqty: TcxGridDBBandedColumn
            Caption = #25968#37327
            DataBinding.FieldName = '_debitqty'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 3
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInitdebit: TcxGridDBBandedColumn
            Caption = #21407#24065
            DataBinding.FieldName = 'debitamt'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 3
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object ViewInitdcdebit: TcxGridDBBandedColumn
            Caption = #26412#20301#24065
            DataBinding.FieldName = 'dcdebitamt'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 3
            Position.ColIndex = 2
            Position.RowIndex = 0
          end
          object ViewInit_creditqty: TcxGridDBBandedColumn
            Caption = #25968#37327
            DataBinding.FieldName = '_creditqty'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 4
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInitcredit: TcxGridDBBandedColumn
            Caption = #21407#24065
            DataBinding.FieldName = 'creditamt'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 4
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object ViewInitdccredit: TcxGridDBBandedColumn
            Caption = #26412#20301#24065
            DataBinding.FieldName = 'dccreditamt'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 4
            Position.ColIndex = 2
            Position.RowIndex = 0
          end
          object ViewInitqtybal: TcxGridDBBandedColumn
            Caption = #25968#37327
            DataBinding.FieldName = '_balanceqty'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 5
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInitbal: TcxGridDBBandedColumn
            Caption = #21407#24065
            DataBinding.FieldName = '_balance'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 5
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object ViewInitdcbal: TcxGridDBBandedColumn
            Caption = #26412#20301#24065
            DataBinding.FieldName = '_dcbalance'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 5
            Position.ColIndex = 2
            Position.RowIndex = 0
          end
          object ViewInithappen: TcxGridDBBandedColumn
            Caption = #23454#38469#21457#29983
            DataBinding.FieldName = 'happen'
            HeaderAlignmentHorz = taCenter
            Width = 60
            Position.BandIndex = 6
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object ViewInit_AidFlag: TcxGridDBBandedColumn
            DataBinding.FieldName = '_AidFlag'
            Visible = False
            Position.BandIndex = 0
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object ViewInitSPECIALCODE: TcxGridDBBandedColumn
            DataBinding.FieldName = 'SPECIALCODE'
            Visible = False
            Position.BandIndex = 0
            Position.ColIndex = 2
            Position.RowIndex = 0
          end
        end
        object LevelInitAcc: TcxGridLevel
          GridView = ViewInitAcc
        end
      end
    end
    object cxTabSheet2: TcxTabSheet
      Caption = 'cxTabSheet2'
      ImageIndex = 1
    end
    object cxTabSheet3: TcxTabSheet
      Caption = 'cxTabSheet3'
      ImageIndex = 2
    end
    object cxTabSheet4: TcxTabSheet
      Caption = 'cxTabSheet4'
      ImageIndex = 3
      object grdTest: TcxGrid
        Left = 0
        Top = 41
        Width = 874
        Height = 376
        Align = alClient
        TabOrder = 0
        object viewTest: TcxGridDBBandedTableView
          Navigator.Buttons.CustomButtons = <>
          DataController.DataSource = dsTest
          DataController.Summary.DefaultGroupSummaryItems = <>
          DataController.Summary.FooterSummaryItems = <
            item
              Kind = skSum
              Column = viewTestbbcredit
            end
            item
              Kind = skSum
              Column = viewTestbbdebit
            end
            item
              Kind = skSum
              Column = viewTestbcredit
            end
            item
              Kind = skSum
              Column = viewTestbdebit
            end
            item
              Kind = skSum
              Column = viewTestcredit
            end
            item
              Kind = skSum
              Column = viewTestdebit
            end
            item
              Kind = skCount
              Column = viewTestsubcode
            end>
          DataController.Summary.SummaryGroups = <>
          OptionsData.Deleting = False
          OptionsData.Editing = False
          OptionsData.Inserting = False
          OptionsView.ColumnAutoWidth = True
          OptionsView.Footer = True
          OptionsView.GroupByBox = False
          Styles.Background = MainDM.bslBackGroup
          Styles.ContentEven = MainDM.bsEven
          Styles.ContentOdd = MainDM.bsOdd
          Styles.Footer = MainDM.bsTitle
          Styles.Header = MainDM.bsTitle
          Styles.Selection = MainDM.bsSelect
          Styles.BandBackground = MainDM.bslBackGroup
          Styles.BandHeader = MainDM.bsTitle
          Bands = <
            item
              Caption = #31185#30446
              FixedKind = fkLeft
            end
            item
              Caption = #26412#24180#24180#21021
            end
            item
              Caption = #26412#24180#32047#35745
            end
            item
              Caption = #26399#21021#20313#39069
            end>
          object viewTestsubcode: TcxGridDBBandedColumn
            Caption = #32534#30721
            DataBinding.FieldName = 'subcode'
            HeaderAlignmentHorz = taCenter
            Width = 120
            Position.BandIndex = 0
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object viewTestsubname: TcxGridDBBandedColumn
            Caption = #21517#31216
            DataBinding.FieldName = 'subname'
            HeaderAlignmentHorz = taCenter
            Width = 140
            Position.BandIndex = 0
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object viewTestbbdebit: TcxGridDBBandedColumn
            DataBinding.FieldName = 'bbdebit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 1
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object viewTestbbcredit: TcxGridDBBandedColumn
            DataBinding.FieldName = 'bbcredit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 1
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object viewTestdebit: TcxGridDBBandedColumn
            DataBinding.FieldName = 'debit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 2
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object viewTestcredit: TcxGridDBBandedColumn
            Caption = #36151#26041
            DataBinding.FieldName = 'credit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 2
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
          object viewTestbdebit: TcxGridDBBandedColumn
            DataBinding.FieldName = 'bdebit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 3
            Position.ColIndex = 0
            Position.RowIndex = 0
          end
          object viewTestbcredit: TcxGridDBBandedColumn
            DataBinding.FieldName = 'bcredit'
            HeaderAlignmentHorz = taCenter
            Width = 80
            Position.BandIndex = 3
            Position.ColIndex = 1
            Position.RowIndex = 0
          end
        end
        object lvlTest: TcxGridLevel
          GridView = viewTest
        end
      end
      object labSubSum: TcxMemo
        Left = 0
        Top = 0
        Align = alTop
        ParentColor = True
        ParentFont = False
        Properties.ReadOnly = True
        Style.Font.Charset = GB2312_CHARSET
        Style.Font.Color = clRed
        Style.Font.Height = -12
        Style.Font.Name = #23435#20307
        Style.Font.Style = []
        Style.IsFontAssigned = True
        TabOrder = 1
        Height = 41
        Width = 874
      end
    end
  end
  inherited btnPrint: TcxButton
    Left = 648
  end
  inherited edtPrint: TcxLookupComboBox
    Left = 743
  end
  inherited qryDynDtl: TUniQuery
    Left = 736
    Top = 0
  end
  object dsMoney: TDataSource
    DataSet = cdsMoney
    Left = 144
    Top = 8
  end
  object cdsMoney: TClientDataSet
    Aggregates = <>
    FieldDefs = <
      item
        Name = 'moneyid'
        DataType = ftInteger
      end
      item
        Name = 'filid'
        DataType = ftInteger
      end>
    IndexDefs = <>
    Params = <>
    StoreDefs = True
    Left = 200
    Top = 8
    object cdsMoneymoneyid: TIntegerField
      FieldName = 'moneyid'
      OnChange = cdsMoneymoneyidChange
    end
    object cdsMoneyfilid: TIntegerField
      FieldName = 'filid'
      OnChange = cdsMoneyfilidChange
    end
  end
  object pmImportInit: TPopupMenu
    Left = 40
    Top = 324
    object FixAstItem: TMenuItem
      Caption = #24341#20837#22266#23450#36164#20135#26399#21021
      OnClick = FixAstItemClick
    end
    object CashItem: TMenuItem
      Caption = #24341#20837#20986#32435#26399#21021
      OnClick = CashItemClick
    end
    object N3: TMenuItem
      Caption = '-'
      Visible = False
    end
    object TraderItem: TMenuItem
      Caption = #24341#20837#24448#26469#21333#20301#26399#21021
      OnClick = TraderItemClick
    end
    object ProductItem: TMenuItem
      Caption = #24341#20837#36135#21697#26399#21021
      OnClick = ProductItemClick
    end
    object SaleSendOutItem: TMenuItem
      Caption = #24341#20837#21457#20986#21830#21697#21021#22987#25968#25454
      OnClick = SaleSendOutItemClick
    end
  end
  object dlgSaveExportExcel: TSaveDialog
    Filter = 'Excel|.xls'
    Left = 617
    Top = 173
  end
  object dlgOpenPicture: TOpenPictureDialog
    Left = 704
    Top = 15
  end
  object pmFil: TPopupMenu
    Left = 136
    Top = 352
    object muFilialeItem: TMenuItem
      Caption = #26412#20998#25903'(&C)'
      OnClick = muFilialeItemClick
    end
    object muAllFilialeItem: TMenuItem
      Caption = #20840#37096#20998#25903'(&A)'
      OnClick = muAllFilialeItemClick
    end
  end
  object dsFilSubjectInitM: TDataSource
    DataSet = SubjectInitDM.cdsFilSubjectInitM
    Left = 500
    Top = 316
  end
  object dsTest: TDataSource
    DataSet = SubjectInitDM.cdsSubSum
    Left = 720
    Top = 260
  end
end
